package com.hk.web.domain.lifeCycle.repository;

import com.hk.commons.enums.FeatureToggleType;
import com.hk.commons.enums.Whether;
import com.hk.web.domain.entity.MerchantFeatureToggle;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *
 * @author Antinomy
 * @date 17/11/1
 */
@Repository
public interface MerchantFeatureToggleRepository extends JpaRepository<MerchantFeatureToggle, Long> {

    /**
     * @param featureType
     * @return
     */
    MerchantFeatureToggle findByFeature(FeatureToggleType featureType);
}
